// adapter/rest/BatchImportResponse.java
package com.library.bookservice.adapter.rest;

import java.util.List;

/**
 * 批量导入响应DTO
 */
public record BatchImportResponse(
        int successCount,
        int failureCount,
        List<ImportFailure> failures
) {
    public static record ImportFailure(
            int rowIndex,
            String isbn,
            String errorMessage
    ) {}
}
